import { defineStore } from 'pinia'

export const usehomepage = defineStore({
  id: 'homepage',
  state: () => {
    return {
      shu: []
    }
  },
  actions: {
    zhneg() {
      this.shu = [
        { a: '牛角卖出', b: 40000 },
        { a: '牛角剩余', b: 6600 },
        { a: '粪便卖出', b: 77000 },
        { a: '粪便剩余', b: 8000, m: 3000 }
      ]
    }
  }
})
